﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace cs2335lab5
{
    namespace Data
    {
        /// <summary>
        /// Each action performed by the user generates a command to the server or vice versa
        /// </summary>
        abstract class Command
        {
            public abstract void Execute();
        }

        /// <summary>
        /// Command the server to log in the current user
        /// </summary>
        class LoginCommand : Command
        {
            public string Username { get; set; }
            public string Password { get; set; }

            public override void Execute()
            {

            }
        }

        /// <summary>
        /// A list of commands possible
        /// </summary>
        enum CommandType
        {
            Connect,
            Disconnect,
            Login,
            Logoff,
            Browse,
            Update,
            Create,
            AddUser,
            AssignIssue,
            Refresh,
            ViewUsers
        };
    }
}